const mongoose = require('mongoose');

const schema = new mongoose.Schema({
    username: {type: String},
    password: {type: String},
    headicon: {type: String, default: ''},
    levelname: {type: String, default: '普通管理员'},
    level: {type: String}
});

module.exports = mongoose.model('Admin', schema);